export CC = gcc
export CPP = g++
export EXEC = live_tt

export  CFLAGS = -c -Wall -g

INCLUDE = 
INCLUDE += -I../liveMedia/include
INCLUDE += -I../groupsock/include
INCLUDE += -I../UsageEnvironment/include
INCLUDE += -I../BasicUsageEnvironment/include
#INCLUDE += -I../

LIB = 
LIB += ../liveMedia/libliveMedia.a
LIB += ../groupsock/libgroupsock.a
LIB += ../BasicUsageEnvironment/libBasicUsageEnvironment.a
LIB += ../UsageEnvironment/libUsageEnvironment.a


SRC:=$(wildcard *.cpp)
DST:=$(SRC:%.cpp=%.o)

all: %.o:%.cpp
	$(CPP) $(CFLAGS) $(SRC) $(INCLUDE) 
	$(CPP) -o $(EXEC) $(DST) $(LIB)	
	
	
.PHONY: clean
clean:
	-rm -f *.o $(EXEC)
